import { action, makeAutoObservable, observable } from "mobx";

class Common {
	constructor() {
		makeAutoObservable(this, {
			isLoading: observable,
			setLoading: action,
		});
	}
	isLoading: boolean = false;
	setLoading(isLoading: boolean) {
		this.isLoading = isLoading;
	}
}
export default new Common();
